/**
 * 
 */
package com.ztesoft.web.taskgenerator.service;

import java.math.*;
import java.util.*;

import com.ztesoft.core.common.Page;
import com.ztesoft.framework.exception.BaseAppException;
import com.ztesoft.web.taskgenerator.db.po.DmTaskStageDefinePO;

/**
 * <Description> <br>
 * 
 * @author codeCreater<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2014年11月11日 <br>
 * @since V1.0<br>
 * @see com.ztesoft.web.taskgenerator.service <br>
 */

public interface IDmTaskStageDefineService {

    DmTaskStageDefinePO selectByPrimaryKey(Integer key) throws BaseAppException;

    List<DmTaskStageDefinePO> selectByArg(DmTaskStageDefinePO record) throws BaseAppException;

    Page<DmTaskStageDefinePO> selectByArgAndPage(DmTaskStageDefinePO record, Page<DmTaskStageDefinePO> resultPage)
            throws BaseAppException;

    int add(DmTaskStageDefinePO record) throws BaseAppException;

    int update(DmTaskStageDefinePO record) throws BaseAppException;

    int delete(DmTaskStageDefinePO record) throws BaseAppException;
    
    List<DmTaskStageDefinePO> selectByOperType(String operType) throws BaseAppException;


}
